﻿<%@ Page Language="c#" ContentType="text/html" ResponseEncoding="utf-8" Async="true" MasterPageFile="~/administration/list_private.master" Inherits="ACM.cmsarea08.Administration.Core.GesRuoli" %>
<%@ MasterType VirtualPath="~/administration/list_private.master" %>
<asp:Content ID="PageBody" Runat="server" ContentPlaceHolderID="MasterBody">
<h1><img src="../template/admimg/userrole_big.jpg" alt="User Roles Manager" />Gestione Ruoli Utente</h1>
<div style="clear:both;">

<div style="float:right; width:45%;"><asp:Label id="warnme" runat="server"></asp:Label></div>
</div>
<div style="clear:both;">
<ptl:Itan_DataGrid id="insVoci" runat="Server" Title="notitle" ShowTitle="true" autogeneratecolumns="false" ExtendedPager="true" PageNum="1" CurrentPage="1" SelectColumn="true" SelectColumnField="ruolo" CheckingColumn="false" EOrdinabile="false" CssClass="DGridClass" JavascriptSort="false"  >
<headerstyle Font-Bold="true" CssClass="headDGrid"></headerstyle>
<alternatingitemstyle BackColor="#e1e1e1"></alternatingitemstyle>
<columns>
<asp:BoundColumn DataField="ruolo" Visible="false" ></asp:BoundColumn>
	<asp:TemplateColumn ItemStyle-CssClass="title_tree">
    	<headertemplate>Ruolo</headertemplate>
    	<itemtemplate>
        	<span title="<%# Eval("descrizione") %>"><a href="edit_ruoli.aspx?new=0&idf=<%# Eval("ruolo") %>"><strong><%# Eval("ruolo") %></strong></a></span>
        </itemtemplate>
    </asp:TemplateColumn>
	<asp:TemplateColumn>
    	<headertemplate>Utenti</headertemplate>
    	<itemtemplate>
        	<%# Eval("utenti") %>
        </itemtemplate>
    </asp:TemplateColumn>  
	<asp:TemplateColumn>
    	<headertemplate>inserito il</headertemplate>
    	<itemtemplate>
        	<%# Eval("data_ins") %>
        </itemtemplate>
    </asp:TemplateColumn> 
	
	<asp:TemplateColumn >
    	<headertemplate><acronym title="<%# rm.GetString("enabled_disabled") %>">Abilitato</acronym></headertemplate>
    	<itemtemplate>
        	<asp:LinkButton id="enable_me" CssClass="jmscmd" runat="server"></asp:LinkButton>
			<a class="jmscmd"><img class="jmsenabled<%# Eval("enabled")%>_sm" src="/administration/template/img/spacer.gif" alt="Abilitato/Disabilitato"/>
        </itemtemplate>
    </asp:TemplateColumn> 
	   
	<asp:TemplateColumn>
    	<headertemplate><%# rm.GetString("last_edit") %></headertemplate>
    	<itemtemplate>
        	<%# Eval("data_mod") %>
        </itemtemplate>
    </asp:TemplateColumn>  
    <asp:TemplateColumn>
    	<headertemplate>Dipendenze</headertemplate>
    	<itemtemplate>
        	<%# Eval("dipendenze") %>
        </itemtemplate>
    </asp:TemplateColumn>          
</columns>
</ptl:itan_datagrid>
<input type="hidden" id="_idm" runat="server" />
<input type="hidden" value="valoremiochestaisullacollina" id="_idtemplate" runat="server" />
</div>
</asp:content>